﻿

namespace LS.Nc6.Application.Cms
{
    public class ContentPagInput
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Page { get; set; } = 1;

        /// <summary>
        /// 每页显示数据条数
        /// </summary>
        public int Limit { get; set; } = 10;

      
    }
    /// <summary>
    /// 内容查询输入
    /// </summary>
    public class ContentInput:ContentPagInput
    {
        /// <summary>
        /// 内容标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容副标题
        /// </summary>
        public string SubTitle { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 栏目Id
        /// </summary>
        public long ChannelId { get; set; }

        /// <summary>
        /// 是否置顶内容 0=否 1=是
        /// </summary>
        public int Top { get; set; }

        /// <summary>
        /// 是否推荐内容 0=否 1=是
        /// </summary>
        public int Recommend { get; set; }

        /// <summary>
        /// 是否热点内容 0=否 1=是
        /// </summary>
        public int Hot { get; set; }

        /// <summary>
        /// 是否醒目内容 0=否 1=是
        /// </summary>
        public int Color { get; set; }

        /// <summary>
        /// 内容分组
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 内容标签
        /// </summary>
        public string TagName { get; set; }

        /// <summary>
        /// 排序字段 0=点击量 1=下载量 2=置顶 3=热点 4=醒目 5=添加时间 6=排序大小
        /// </summary>
        public int Field { get; set; } = 5;

        /// <summary>
        /// 排序方向 0=升序 1=倒叙
        /// </summary>
        public int Order { get; set; } = 1;
    }
}
